package com.xbongbong.pro.form.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author zhouwq
 * @date 2021/11/26 15:53
 * 接收线索立案和查重，所有可选择客户字段返回
 */

@Getter
@Setter
@ToString
public class ClueJointRecheckCustomerAttrDTO extends BaseDTO {
    private static final long serialVersionUID = 1849741194237753708L;

    @NotNull(message = "线索表单不能为空")
    private Long clueFormId;

    private Long customerFormId;

    private Integer saasMark;
    /**
     * 1代表是全部模板，0代表不是全部模板
     */
    @NotNull(message = "模版标识不能为空")
    private Integer isAll;

    /**
     * 线索的attr
     */
    @NotNull(message = "请选择线索字段")
    private String clueAttr;
    /**
     * 客户的业务
     */
    @NotNull(message = "业务类型不能为空")
    private Integer businessType;


}
